package com.elecbook.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.elecbook.auth.model.dto.UserPQuery;
import com.elecbook.auth.model.po.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper extends BaseMapper<User> {
    Page<User> selectPageEntity(IPage<User> page, @Param("query") UserPQuery query);
}
